<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/vue.js"></script>
    <script src="../js/jquery-3.6.0.js"></script>
    <script src="../element-ui/lib/index.js"></script>
    <link rel="stylesheet" href="../element-ui/lib/theme-chalk/index.css">
</head>
<body>
<!--1. 准备一个容器-->
<div id="app">
    <!--:offset 整体向右移动、-->
    <el-row>
        <el-col :offset="4" :span="4" style="background-color: pink;height: 40px"></el-col>
        <el-col :span="4" style="background-color: green;height: 40px"></el-col>
    </el-row>
    <p></p>
    <!--:push="2"让这一列向右移动，后面不动-->
    <el-row>
        <el-col :push="2" :span="4" style="background-color: pink;height: 40px"></el-col>
        <el-col :span="4" style="background-color: green;height: 40px"></el-col>
    </el-row>
    <p></p>
    <!--pull="2"让这一列想左移动 前面不动-->
    <el-row>
        <el-col  :span="4" style="background-color: pink;height: 40px"></el-col>
        <el-col :pull="2" :span="4" style="background-color: green;height: 40px"></el-col>
    </el-row>
    <p></p>
    <!--
        行属性

    -->
    <el-row type="flex" justify="center">
        <el-col  :span="4" style="background-color: pink;height: 40px"></el-col>
        <el-col  :span="4" style="background-color: green;height: 40px"></el-col>
    </el-row>
</div>
<script>
    let vm = new Vue({
        el: "#app",
        data: {},
        methods: {},
    });
</script>

</body>
</html>